|
|
|
|
|
|
|
include the Internet connect form in the application. After you click Yes, click the Finish button in the next dialog box to have the wizard complete the creation process. In Project Explorer, you should now see three forms and one module. Double-click the frmBrowser form to view it. As you can see in Figure 1.25, this form contains several different controls that work together to give you an Internet browser. |
|
|
|
|
|
|
|
|
Figure 1.24.
Use the Application Wizard to create the Web browser
quickly. |
|
|
|
|
|
|
|
|
Figure 1.25.
The new Internet browser form created by the
Application Wizard. |
|
|
|
|
|
|
|
|
Notice that the button bar at the top of the form looks very similar to the original Internet Explorer toolbar. The WebBrowser control's Navigate method handles the main processing for this form. This method navigates to the resource identified by a Universal Resource Locator (URL), or to the file identified by a full path. Figure 1.26 shows what this application will look like when accessing a Web site on the Internet. |
|
|
|
|
|